package cn.z2huo.demo.kafka.spring.producer.properties;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

import java.util.List;

/**
 * <p>
 *
 * @author z2huo
 */
@Getter
@Setter
@RequiredArgsConstructor
@ConfigurationProperties("spring.kafka")
public class KafkaConfiguration {

    @NestedConfigurationProperty
    private TestTopicProperties testTopic;

    private List<String> bootstrapServers;

    private String clientId;

}
